finally Execute
Registers a handler that will be invoked if the promise is settled (fulfilled/rejected) and returns a new promise.
The handler is called immediately if the promise is already settled.
Parameters
on Finally
a handler that is invoked if the promise is settled
See also
Throws
if the JavaScript promise is already disposed